package com.huike.clues.mapper;

import com.huike.clues.domain.SysNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.util.List;


@Mapper
public interface SysNoticeMapper {
    List<SysNotice> list(String status);

    SysNotice info(Long noticeId);
    @Update("update sys_notice set status=1 where notice_id=#{noticeId}")
    void updateStatus(Long noticeId);
}
